             ))))))
 
 (defrecord Heartbeat [addr]
-    Runnable
-    (run [this]
-      (let [context (zmq/context 1)
-            socket (doto (zmq/socket context :rep)
-                     (zmq/bind addr))]
-        (while (not (.. Thread currentThread isInterrupted))
-          (let [message (zmq/receive socket)]
-            (zmq/send socket message))))))
+  Runnable
+  (run [this]
+    (let [context (zmq/context 1)
+          socket (doto (zmq/socket context :rep)
+                   (zmq/bind addr))]
+      (while (not (.. Thread currentThread isInterrupted))
+        (let [message (zmq/receive socket)]
+          (zmq/send socket message))))))
 
 (defrecord Shell [shell-addr iopub-addr]
   Runnable

  "evaluates s-forms"
  ([request] (execute request *ns*))
  ([request user-ns]
    (str
      (try
        (binding [*ns* user-ns] (eval (read-string request)))
        (catch Exception e (.getLocalizedMessage e))))))

(defn generate-ns []
  "generates ns for client connection"

           [clj-time.format :as time-format]
           [com.keminglabs.zmq-async.core :refer [register-socket!]]
           [clojure.core.async :refer [sliding-buffer >! <! go chan close!]])
  (:gen-class :main true))

(defn prep-config [args]
