Cosmology: Foundations and Frontiers