Added AppCtrl and swapped it for MainCtrl in index