Initial server implementation with oaicat lib