Preliminary implementation of Measure

NOT ready to merge
In particular arrows are not implemented
Companion Branches: core - units, svg - units