Add rake to Gemfile, dropped Gemfile.lock and added a gitignore
Make most of the changed suggested by adamstac
More about running the examples.