Improve reference, add TOC

[ci skip]