Class handling requests to LabelAPI database