Start refactor on html reporter