clean codes
refactor client.rb
updated README.md