some clean up
Merge branch 'core-refactor' of github.com:webdetails/cpf into core-refactor