Directory restructure for phoneGap compatibility.