Initial working with C++ classes