Factory/Loader of mongoose