added html_handler class