Added skeleton for temperature control class, cleaned up thread init a little.