added cordova since phonegap does not provide an easy way of installing multiple plugins at once
added wifi image loading