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.
Lint should have caught redundant brackets here, might want to check that.