initial socket.io stuff and index view