To clean up config creation code the Builder design pattern should be used to instantiate the Config class.