Text this: Thermodynamics of development of energy systems with applications to thermal machines and living organisms