remove name_by_class and move class_by_name into neo.core