Reorganize low level API docs
Proof read threats.rst