now building real compilable c++ classes