split module in several files
add mocha test
add grunt task for code coverage with istanbul