Relativity Thermodynamics And Cosmology