Added comments to code base. Consolidated common 'require' statements into index.js. Fixed up mocha tests for base unit tests.