Adding an api to switch on/off lights
Adding example for controller