Initial commit

Added index.js which is the command line version of the tool. If it is required the report function is returned.

added lib/report.js which contains the report function which does all the work.