new format of config file
New global error handler in config file