Biorefinery of Inorganics