Quick and dirty conversion of daemon to use new object model and command execution functions.