Restructured files for PhoneGap