Refactored config structure to configure module and model values separately