basic generation of navigation and content loading