Reorganize the table of contents
Add docs for porting themes
Fix example code