added socket.io
updated script to use service to start mongodb