Refactoring CSV.pm without using YAML module:

* Getting the metrics from the structure abc.
* Fixing the output file (correct format).
* Bug: name of directory as output file.
* Bug: do not know the number of files in a metric

Signed-off-by: Bryan de Holanda <bryan.h.fernandes@hotmail.com>
Signed-off-by: Macartur de Sousa <macartur.sc@gmail.com>