Building UML mod to code