initial client implementation
implemented client rest api