Implemented simple class based API

Only two methods are supported at this time.  getRooms() which polls
room and light data from the gateway, and setBulbLevel() that allows
you to set bulb on/off and dimming via 'did' identifier.