Add cwd option to daemon setup

Pass in the cwd option to the setup of the daemon.

cwd defaults to the root of the system ( / ).