add html parse lib, code design