Add simple class for running daemons