revise unit of measure construction, clean up quantity classes.