phonegap version of codebase

required directories, etc.