various bug fixes and refactored to use join
updated centinel.py to make the subparsers work
imported daemonize so that we could import it