Externalize Mongo config

Externalize Mongo config