refactored class-specific code into generate_class() in cppgen
refactored class-specific code into generate_class() in cppgen

csail-csg/connectal,hanw/connectal,csail-csg/connectal,csail-csg/connectal,cambridgehackers/connectal,cambridgehackers/connectal,hanw/connectal,csail-csg/connectal,chenm001/connectal,8l/connectal,cambridgehackers/connectal,chenm001/connectal,chenm001/connectal,csail-csg/connectal,hanw/connectal,hanw/connectal,8l/connectal,cambridgehackers/connectal,hanw/connectal,8l/connectal,cambridgehackers/connectal,chenm001/connectal,chenm001/connectal,8l/connectal,8l/connectal