Exploring Cosmology and Structure Formation via High-z Galaxies