Added parsing and loading of config files.