html parser implementation started