From Structure To Thermodynamics With Local Molecular Field Theory