refactor
add helpers
remove blank lines
refactor
fix tests
add __init__
Merge pull request #793 from my-personal-forks/refactor-dd-cmd

Refactor