Add main controller with corresponding view