Merge pull request #169 from afrjorge/master

[CDF-205] - CDF core-refactor