created menu structure based on Composite pattern and using the Command pattern for each action