Add cordova-lib, and start replacing cordova-cli calls