Implemented libclient lib.