          :user-api (new-user-api)
          :cljs-routes (new-cljs-routes (:cljs-builder cfg))
          :user-data-loader (new-user-data-loader cfg)
-         :csv-loader (new-csv-loader cfg)
          )
 
         (mod/system-using

    (let [session (get-in this [:session :session])]
      (assert session "No session found in system")
      (binding [cassaclient/*default-session* session]

        (ignoring-error (cql/drop-table "programmes"))
        (ignoring-error (cql/drop-table "projects"))
        (ignoring-error (cql/drop-table "entities"))
        (ignoring-error (cql/drop-table "devices"))
        (ignoring-error (cql/drop-table "sensors"))
        (ignoring-error (cql/drop-table "sensor_metadata"))
        (ignoring-error (cql/drop-table "measurements"))
        (ignoring-error (cql/drop-table "difference_series"))
        (ignoring-error (cql/drop-table "hourly_rollups"))
        (ignoring-error (cql/drop-table "daily_rollups"))
        (ignoring-error (cql/drop-table "users"))
        (ignoring-error (cql/drop-table "data_sets"))


        ;; While developing, it's a pain to have to keep logging in
        ;;(ignoring-error (cql/drop-table "user_sessions"))

          :pipeline [:store]
          :scheduler [:pipeline]
          :user-data-loader [:bidi-ring-handler :web-server :user-api]
          ;;:cljs-routes [:cljs-builder]
          :session [:cluster]}))))
