update for new release
beautifulsoup4 as dependency injected, remove usage of potential BeautifulSoup 3 packages, refactor BeautifulSoup class so that it work with all versions.