Added the basis for cocos2d