Get navigation and main layouts working