Specified controller for RootLayout
Moved most init code to RootLayoutController.