more tweaks on the framework (integration of cocos2d and entity/component model)