adding the Daemon class