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

Fixed in d1a8038