This PR starts to implement the refactoring described at https://github.com/ooni/probe/issues/1951. I originally wrote more patches than the ones in this PR, but overall they were not readable. Since I want to squash and merge, here's a reasonable subset of the original patches that will still be readable and understandable in the future.
apitool
This directory contains a tool to fetch measurements. This tool is intended to sporadically fetch measurements, not for batch downloading.
Please, see https://ooni.org/data for information pertaining how to access OONI data in bulk. Please see https://explorer.ooni.org if your intent is to navigate and explore OONI data.