Get rid of `ConfigFile` global state
This makes the config loading be part of command processing, and loaded config becomes a part of the context of execution.
This makes the config loading be part of command processing, and loaded config becomes a part of the context of execution.