SMS: Development of a control system for general anesthesia