Better command line interface

Some inspirations:
* https://github.com/resque/resque/blob/master/bin/resque
* https://github.com/resque/resque/blob/master/lib/resque/cli.rb