Implemented main steps of the navigation algorithm. 
(without handling the navigated content)