oop c++ final rev: sketch base classes for handle