Define menu structure, trying to add history function