Make it possible to configure an external mongodb instance