Migrate mongoid

Migrated from MongoMapper to Mongoid.