MVC Framework for PhoneGap