Refactored grunt
Registered adapter
Started refactoring tests using Mocha