add generator to generate istructions classes