1) add main controller.