cpp-generator.* compilation unit added

Module added to contain the generator code.