Filled out methods for method construction.  Also created interface for callbacks.  This will let us register Objects to receive messages from the websocket.