cleaned client with fixed tests. no quotas functionality implemented