moving cocos and soomla java code into wkcocos lib.