Added check on the previous existence of a class when adding one
Added rename_obj_class and rename_rlt_class