Add HTML generation. Closes #10.