added generate name class table functionality