demo cordova
restore cordova sample
refactoring folders, bug fix on promises.batch