Factor menu code into separate class.