Split project into the control program and the daemon