Refactor (DRY, modularity, complexity, lint).
Merge branch 'dev' into refactor

Conflicts:
	index.js
Added Code Climate badge to the readme.
Merge branch 'refactor' into dev

close #29