Refactoring application view navigation and lookups