Implemented version 1 of client and service.