Setting up phonegap