add ieditorfactory class