/**
Provides classes storing and allowing the fast retrieving of several types of information using a MySQL database or the content of an xml file and a directory.This package contains two classes : MySQLbase and MediaBase. These classes are used to store and retrieve information, and, therefore, can also provide an "exchange area" for other object to communicate. MySQLbase plays such a role : it saves calculus results to avoid submitting them twice but allows also an object to write them and another to read them, thus serving as a buffer between the two.
Contains information on the media used. The most important one is the association between media real names and their identifier, an integer used by CPS to identify each media. Basically, it contains everything that is in the media.xml file.
This class stores results in a MySQL database. Methods are implemented to save HITs' hard results, i.e as they are sent by CrowdFlower. Such data is made of the answer to the question the workers are asked, but also their country, city, ip address, etc. Other methods allows to store refined results, i.e what is obtained after the program get another label is called on the har data. This higher quality results are easily available because dedicated methods allows their retrieval.