Structure and Thermal Evolution of Exoplanetary Cores