Thermodynamic Laws, Potentials and the Third Law