Minor re-factoring and documentation additions.

Signed-off-by: Henry J. Wylde <accounts+git@hjwylde.com>