First version of daemonizer