Got rid of the main method in NameGenerator