improved RRDistanceFormatter
created Preferences class
hardcoded baseline unit system