added load of config file: support for json and toml