updated class command
updated implementation and documentation of class commandline