A template for PhoneGap applications using FastGap's teachings