save the generated class