Added mongodb support via mongoid