Added TODO in simulator.js to remember naming sockets before emitting updates for later filtering on server. Added mongodb to package.json as a dependency. Implemented insertion of updates in mongodb collection.