Cleaned up composer.son and made thermostat.php a little less 'testing' like and more usable. Still to do: a few TODOs and make a way to pass in credentials.