More C++ classes implementation