Move core daemonize logic back to main