adding mongodb config to the project