added some comments to the menu class