Improve documentation formatting and add TOC