added cordova-lib, more edits needed