refactor to use a service
Merge pull request #1395 from ORCID/createCommonSrvc

refactor to use a service