Created IMeasurement with some supporting code