adding client class to handel outgoing requests