Update with current version of code

This is the first test with PhoneGap Build and working code.