mongo connection to server.js
added error logging
merge con
merge con
Merge pull request #4 from belsrc/logger

Logger