Configurations are now parsed from very simple files, instead of
being defined inline in the script (however cleverly).
Config file and profile manipulation is now encapsulated in tiny
libraries. This should allow implementation of other subcommands
without too much effort.