Read config file, add logging output options.
Clean up unused code intended to support mutliple sites with 1 daemon.