refactoring with _feature_names and _class_names, new class methods
get_class methods
add_class and add_classes methods