Refactoring du modelConfig