Title: Random Theory of Deformation of Structured Media. Thermodynamics of Deformation in Structured Media