added example.rb and Gemfile, updated LICENSE