Creation of a chat service in Ruby