removed active record, added mongoid