Moved the navigation to a separate file in order to maintain one page app feel and to make it more dynamic.