Improved the organization of the Config class.