remove server code from main.rb

extract websocket code to server_socket.rb

remove server.rb
spec file rename
fix & refactoring in server_socket