Configuration file support for loader.
Allows loading settings from TOML or JSON config files with profile support.