Classical and Geometrical Theory of Chemical and Phase Therm