Phonegapified the directory structure