Implement Navigator pattern

Implementing the navigation pattern