add pager, refactor views w/ partials