refactoring for <snapshot> command
refactoring around <flow> command; looks pretty good for my Clojure level; assoc-changelog! still needs refactoring though