barebones app based on phonegap testing segment.io