Add partial and main controller