Merge pull request #134 from afrjorge/core-refactor

[CDF-205] - CDF core-refactor