Refactored the API under global TypedPhoneGap module.
Refactored the API under global TypedPhoneGap module.