Start Refactoring how nav bar and url hash works