Library client and server