Create librest.rb

added librest