CE/save distance units preference

I would like to namespace the RandomRun formatters after this branch is merged (or at least after it is approved).
done (with a class).