updated debugging feature of all classes
fixed bug in class command