Refactored interactive menu into multiple methods
directory.rb