Rework Daemon command to be "class" based.

Add some testing support for the config package.