Simple error handling
Fix error message.
Init mongodb and mongoid.
Merge.