finished management of UnitSpec types, with proper handling of poperties and graphical representation of the unit