Early geobiochemical evolution of the earth