Version 0.1 - refactored to use promises and added command line options

You need the `#! /usr/bin/env node` here for this work work correctly