Added verbose option and changed to using argparser for parsing arguments.
Using sys.argv is ugly and not really pythonic.