Finish REST controller, refactor views with partials.