Demonized mode added
Updated doc to control daemonized code