Major overhaul of the project structure. The server is more app-agnostic. The client code is simpler.