Implementing lib-server