updates for changes to Measure, SizeSpec

as part of linear migration
add .cabal file to build Shake script