Create thermostat.cpp