Reruns/ui

We've been slowly removing functions from index.js with an eye to removing it so it is a shame to be adding new ones... hopefully this can be addressed at the same time as creating a Backbone view for the page.