boilerplate code for setting up and getting a basic phonegap application running