add basic daemonization