daemonization - part 1