A fully functional phonegap api application