split out the measurement store into its own package