Simplify the EPUB structure; add TOC

main.html needs to be generated by santize.html and copied into place