Update admin code to recent model field renames
Start of API guide + some whitespace removal.
Expand API guide.