changed directory structure to better match phonegap