Changes to websocket set up and addition of adding in topic & payload disection. Working copy.