Monstrous refactor of views to use class-based views. Reduced tons of redundancy.