Adding global app controller.