use Client struct for specifying Url instead of hardcoding it