Encapsulated all config logic in the configuration module.