Refactored the candidateService to move it to candidate.js. Added propertiesByFolios function