Create repository base for mongodb