Refactored view code out for reuse.  Broke tests doing it.
Started to rewrite index page to use new views
Got reductions working
Added file selection
Started to wire up the UI to allow the selection of files
Fixed various data issues
Pickup the logins
Tidied up views