updated server to use new eventqueue and started to move away from socketio, client still needs to be redone