Text this: Heat Flow, Work Energy, Chemical Reactions, and Thermodynamics: a Dynamical Systems Perspective