created a code generator for new classes