 
 (defn init [& argv]
   (proto.repl/init)
-  (-> argv
-      first
-      io/reader
-      slurp
-      yaml/parse-string
-      process-handlers
-      println))
+  (def configuration (-> argv
+                          first
+                          io/reader
+                          slurp
+                          yaml/parse-string))
+  (process-configurations configuration))
 
-;;
+
 (defn -main []
   (init *command-line-args*))

  (:import org.xeustechnologies.jtar.TarInputStream)
  (:require [clojure.string :as string]))

(def handlers '[repo-handler autotools-handler])


(defn run-handlers
  "Run all the handlers on a definition"
  [config]
  (for [h handlers] (h config)))


(defn process-handlers
  "For each project definition, run all the handlers on it"
  [configurations]
  (functor/fmap run-handlers configurations))


(defn autotools-handler

    (first (string/split (-> tis
                             .getNextEntry
                             .getName)
                         #"/"))))


(defn repo-handler
