cleaning and comments after createphp RdfTypeFactory refactoring