add daemon, cmd and cmd-control