     [celestial.security :refer (set-user)]
     [celestial.fixtures.core :refer (with-conf)]
     [simple-check.generators :as g]
-    [celestial.redis :refer (clear-all)]  
+    [celestial.redis :as red]  
     [celestial.persistency :as p]  
     [celestial.persistency.systems :as s]
     [celestial.persistency.actions :as a]
     [celestial.fixtures.data :refer (admin ronen) :as d]))
 
-(with-conf (es/initialize))
 
 (defn add-users 
   "populates admin and ronen users" 

(defn populate-system 
   "Adds single type and system" 
   [t s]
  (clear-all)
  (add-users)
  (p/add-type t)
  (s/add-system s))

(defn -main 
   "run populate all" 
   [& args]
   (set-user {:username "admin"}
     (populate-all)
     (p/delete-user "admin"); will be set up in next launch
     (println "populate done!")))
