Add option parsing, --dedupe option