updated mongoid
swagger API and basic endpoints complete