#2 Added control logic and serial output to turn stuff on/off