Added import exceptions and auto-generating of config files.
Added import exceptions and auto-generation of config files.