A template for mobile applications using lungo framework and phonegap