Adds sails main controller.