implemented class for menu