Adding websocket support to P3D and working on multiple 3d viewer support