move time/distance conversions from classify to utils