Implementation of add and get for Client