Cleanup style
Restructure plugin module.  Flatter.  No anons
Install Mocha test framework and beer test