add option dry-run
code refactor
working on config parser, not finished