C++ API for the CREAM client