added websocket interface and test page