Create codeGen.h

not tested yet
will do tomorrow