HDM UML refactoring prototype