sample refactor CMS code out of core
Merge pull request #3391 from eileenmcnaughton/CRM-14768

sample refactor CMS code out of core