move manifest generator from cordova-lib