merging carbon context classes to carbon.base
refactoring