Daemon refactor

Get rid of old daemon code. Use new DaemonHelper instead.