Add thermodynamic potentials

Not ready to be merged. Opening for comments/suggestions.
No error, as it's commented out :D
What do you suggest for the name?