Added documentation, appropriate exception handling and logging to the Quality Resource.
Temporary basic configuration for log4j in Main.java, to be removed as soon as the appropriate location for the configuration file is defined.