Added comments to directory.rb file