Master setup for cordova