description of which code goes in client.rb and which code goes in server.rb