Adds mongo configuration