move styles to main.css, fixed name of socket.emit and some variable names