move cocos2dx-db code into