Add api controller for partners. Replace all cogic from controller to model partners.