Adding logic to read config settings.
Adding logic for separate config files.