adding the deamon base class