added client inteface in client.rb. More string processing needed