Implemented all light functionality and on/off updating on command.