add re option
refactor for code metrics
bump version