Components and functions of flexible endoscopes