This issue is to modernize the diffim task. Once it is running it should be refactored to use the new measurement tasks and reference loading wherever possible. Also remove any one off code used in past reports.
Measurement should be split into its own task.
The resulting task should be general, but not so general as to make it hard to run.
This issue is being split into three issues: