added basic web functionality
to change the thermostat mode and thermostat fan mode.