Added directory.rb
Updated directory.rb