Base PhoneGap SQL app