Proper types for distance and time

- Distance and time types to present them in different formats, as
required by the display.
- Moved enums into own files