Added individual threads for main controller task, audio input, insteon input, thermostat input, and user input monitoring.