Move UI source into a ui directory
Add D3 and start using it for date formatting
First pass at stats display

The code is still pretty ugly and there is no support for filtering.