Changes to allow using a config file

These changes allow for using a separate config file instead of having to specify all domain names as command line arguments. It is just a thin wrapper around the existing parser.