Quick draft of the API server