Added custom exception generator macro and some common exceptions
Added exception handling for loading without local config files