The foundation of physics