Merge refactor branch

- Begin extracting helpers with better test coverage
- New render methods
- Use layouts/partials with views
- Add index