Added MainAppCtrl.