Add thermodynamic potentials

Not ready to be merged. Opening for comments/suggestions.
what is the difference between base_material and base_materials?