refactored generate_authors_collection and generate_paths_collection into one class called generator.rb, updated main.rb and generate_tests.rb to reflect this refactoring