Adds docopt dep
Refactors to use docopt