Rewrite mapper logic
Add grunt, JSHint and Travis