Add logger support and -v/--verbose option