Initial commit. Implement iOS/Android Cocos2d-x API.