Massive overhaul of documentation.

Signed-off-by: Ben Corlett <bencorlett@me.com>