Implementing missing features... JIRA issue: CORE-19361 - Delete categorymgr.c and add categorymgr.cpp. - Make category manager implementation C++.