Prefer require("brigade").{source,module,bundle} to direct use of lib classes.

This is a major rewrite, so I'm postponing publishing to NPM until it's fully tested.