Add the three C++ classes