Create src/daemon.h

Header file for the daemon class
Create src/daemon.cpp

Sourcefile containing member function definitions for the daemon class