Building RSA user and client classes in Ruby