got it generating the page. starting the menu generation
Got the menu generation working. Also got it to set the active menu item and the active parent items so we can set the correct flags in the html easily