initial commit of phonegap version