added a simple parser to parse html