Made a generic menu builder.