paramatrize joining and daemonness
Merge pull request #3 from tlevine/master

paramatrize joining and daemonness