LIVEOAK-652: move the internal mongo configuration to a separate module.