Refactored the library to acknowledge that the gateway and the bulbs are different
Made a way to turn the debug and network messages on and off