Thermometer moved in to separate class