move web socket classes to server project