Refactor clojure module