added_sortable_tables

Updated view page and some cleanup work.