installing socketio node module, updating index.js for dependency and io connection