added mongo config into the process