Correct deprecated warnings.
Add a way to generate HTML file, see issue #8.