             [clojurewerkz.neocons.rest.labels :as nl]
             [clojurewerkz.neocons.rest.cypher :as cy]
             [clojurewerkz.neocons.rest.relationships :as nrl]
-            [clojurewerkz.neocons.rest.index :as nri]
             [clojurewerkz.neocons.rest.transaction :as tx]
             [tropefest.base :as b]
             [com.numergent.url-tools :as ut]
-            [taoensso.timbre.profiling :as p]
+            [taoensso.timbre.profiling :as prof]
             [environ.core :refer [env]]))
 
 

(defn create-node!
  "Creates a node from a connection with a label"
  [conn label data-items]
  (let [node (p/p :nn-create (nn/create conn (timestamp-create data-items)))]
    (do
      (p/p :nl-add (nl/add conn node label))
      node)))

(defn merge-node!

(defn relate-nodes!
  "Links two nodes by a relationship if they aren't yet linked"
  [conn relationship n1 n2]
  (prof/p :nrl-maybe-create (nrl/maybe-create conn n1 n2 relationship)))
