First pass and providing a JSON-based API for the server. The mobile clients will communicate with the server via this API