re-did the folder structure for the API. The client still lives in the server packages, but will be gradually moved into api/client to remove coupling and make the APIs clearer.