Entity-component-system framework for integration with cocos2d-swift