Added WebSocket code for Euler Diagram creation

Although this will be moved to an external location at some point