Move cordova lib
Fix template library bugs