Added DaemonApp class.