moved enums to RR types
updated unit toggle to display "miles / km" fixed #71
refactor