Moved backend to Mongoid