Adds a bin

Fixes some relative paths with __dirname.
Adds info on running the binary to the readme
change eval into JSON parse
Merge pull request #1 from pdjota/master

Adds a binay for running the tool