moved rightcontroller and navcontroller into appController