An example of how a phonegap app should be built - the right way.