setting up phonegap app