restructured folders for phonegap