Refactor html reports driver
Refactor text reports driver