minimized act 2 - split into two parts. added mongodb interaction and simplified socket.io example