Rewrote most of IndexController code to reduce redundancy

Added NavHelper class to make writing urls easier with params in cases
where pages require very similar functionality.