creating mongo module