Refactoring - Wrap variables and functions into an anonymous object.
miles -> km
Update some text and scripts
Refactoring - Use patterns for each search pattern.