Got rid of the client, and converted the server into a REST API.