Cleaned up dcarley's EBS work, adding documentation

Still rough, but I really think the EBS stuff should be part of the main package. :-)