Handle options from CLI args and config file

Add non-rubbish handling of configuration from a file and/or the command line similar to what we already do in Vaultaire, etc.
Just for consistent style, I prefer f . g . h $ x, as opposed to f $ g $ h $ x.