cpp: use generated service declaration macros
cpp: agent service
cpp: collapsing lib and server into single projects
cpp: missed a file in CMakeLists.txt