Added documentation + minor cleanup

Sweet, sweet documentation.
What's a "ZMA" socket?