Some basic classes for C++ support (issue #14)