Refactored view pages, created base view controller