added HTML formatter

still needs refactoring, format_header and format_line methods