improve logging.
remove EventEmitter from MongoDb
remove exit codes.