Using clojure to manage SQL/NoSQL database