             (JSON/parse data)))
 
         ;; load config
+        
         (let [c (chan)]
           (sub pub-main :load-config c)
           

        (node/enable-util-print!)

        ;; needed for reading config files
        (def fs (node/require "fs"))

        ;; rethinkdb backs everything
        (def r (node/require "rethinkdb"))

        ;; net socket for requests
        (def net (node/require "net"))

        ;; altered, but not added kv pairs
        (def app
          (atom
           {:possibledb-table "databases"

            (unsub pub-main :rethinkdb-create-connection c)))

        ;; check/create rethinkdb database
        
        (let [c (chan)]
          (sub pub-main :rethinkdb-create-db c)
          
