codeing class generation