 (ns user
   (:use plumbing.core)
   (:use criterium.core)
-  (:require [clojure.core.reducers :as r]
-            [clojure.pprint :refer [pprint pp]]
+  (:require [clojure.pprint :refer [pprint pp]]
             [clojure.repl :refer :all]
             [clojure.tools.namespace.repl :refer [refresh]]
             [datomic.api :as d]
             [system]
-            [lens.api :as api]
-            [lens.schema :as schema]
-            [lens.util :as util]))
+            [lens.schema :as schema]))
 
 (def system nil)
 

  (stop)
  (refresh :after 'user/startup))

;; Starting and Resetting the Server
(comment
  (startup)
  (reset))

(defn create-database []
  (d/create-database (:db-uri system)))


(defn load-schema []
  (schema/load-schema (connect)))

;; Init Development
(comment
  (startup)
  (create-database)
  (load-schema)
  )

;; Reset after making changes
(comment
  (reset)
  )

;; Connection and Database in the REPL
(comment
  (def conn (connect))
  (def db (d/db conn))
  )
