Created a generalized menu system.