Added some basic code to turn light on and off