Second half of documentation comments

Доброе утро!

This is the second half of the documentation comments, plus an updated REST API ref.

Added documentation comments.

Updated REST API reference with Entities.