Tech Debt: Clojure code refactor