Using var of modelName for mongo config instead of hardcoding it