-modified some properties of device to be nullable
-overloads send/get functions to accept single string still
-modified helper functions sendString... and sendDictionary... can include an eventName property in the data sent to server, overriding the default string and dictionary events received