Refactored edit, views and controllers. Some 'list' style views need to
be refactored so they are sortable. Also, some search type actions need
changing.