added websocket srever
added websocket client to the project
fixed the motion bug
merge