add a verbose option
use getopt for command line parsing