add html writer class