Update RouterController so that it can manage route changes without the need of the browser history.