Refactoring code. Moved Nav to top of page.