Conserving Energy in Physics and Society: Creating an Integrated Model of Energy and the Second Law of Thermodynamics