New structure for Ruby gem