Move Size and Freq into Units
Add an attribute "role" to "node"s
Cosmetic details
Use functions from Extlib:Option module instead of crafting our own
Check uniqueness of some elements