added a main menu input processor