makeClass in ClassCommand