Clean up Coordinator source code

Mostly
- Added a few comments
- Changed a few namespaces. This isn't quite complete (must replace
  hlv->ev for instance), but is getting closer.