A New Generation of Foundation Models from First Principles. Building AGI, AI as Service, Generative AI