Added heaterMain as the first stab at the main program.