Implemented menu in GUI.