Counters

Split the library into logical objects
Added Counters
Added Grunt build
Added Mocha tests