Gaia, Stellar Populations and the Distance Scale