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.
Not sure if this is safe, it may very well be.