Add main controller