Split into two APIs and split client/server code