Simple C++ library to ease creation of daemon