added labels for classes
adding stats generation
change to instance
made naming consistent
fixed class names and labels; added id_list support