A class for creating text menus for console applications