Fixed gruntfile to properly lint JS files when changed.
Refactored base/0-0-1 implementation. Updated tests and index page to use new refactored API.