add new OO websocket interface
move the python plugin to the ws interface