Hello,
You can rename (or "refactor") a class as follows:
New_Class.name = "NewName"
or:
New_Class.iri = "
http://full.iri.com/NewName"
The first syntax just change the name, the second one allows to change the entire IRI.
Best regards,
Jean-Baptiste Lamy
MCF, LIMICS, Université Paris 13