Refactor navigation.

Add endpoints for each of the nav bar items.