initial codebase for mongo api scaffold