Moved example1.rb to app directory