html: moving HtmlError to its own file
removed util library