Restructure directories for mobile application.

Massive changes to directory structure.  Partition into mobile, client, and server folders.