More cleanup

This is a huge PR that comprises a lot of work to move into a new direction with modularity, flexibility, and simplicity in mind.  I've moved over to ES6 modules, Mocha unit tests, simplified markup, templates, etc.

It's very incomplete, but this work paves the way for future changes.