Added first thermostat implementation