Adding Daemon class