setup of phonegap