added directory.rb and updated README