Split the work daemon and task daemon in separate pacakges