Implemented the client interface and messages