Added Measure class and some basic rendering.