Added CLI support for daemonization