Coherent application of a contact structure to formulate Classical Non-Equilibrium Thermodynamics