Reniming MainCtrl to MainController and adding RootController for test purposes.
Renaming Root- to AppController.
Trying to handle events