Refactored the QuickApi Mongoid Module