Added main.coffee to handle websocket