transfert MongoDB config name to constructor