+ added bin file
+ moved logic from index.js to lib/runner.js