Refactor view to match with inheritance from FormView, SingleView, ItemView and TableView.