 
 (def app-state
   (atom
-    {:results []
+    {:search {
+              :term {}
+              :results []
+              }
      :player-queue []
      }))
 
 (defn search-results []
-  (om/ref-cursor (:results (om/root-cursor app-state))))
+  (om/ref-cursor (:results (:search (om/root-cursor app-state)))))
 
 (defn player-queue []
   (om/ref-cursor (:player-queue (om/root-cursor app-state))))

               )))))


(defn filters-view [app owner]
  (reify
    om/IRenderState
    (render-state [this state]
      (let [search-chan (om/get-shared owner :search-channel)
            filters (:filters app)]
        (dom/div nil
                 (dom/h1
                  #js {:id "sledge"}

            (js/parseInt (get % "track")))
   tracks))

(defn results-view [tracks owner]
  (reify
    om/IRender
    (render [this]
      (let [button (dom/button
                    #js {:onClick
                         (fn [e] (doall (map #(enqueue-track %)
                                             tracks)))}
                    "+")
            track-components
            (om/build-all results-track-view tracks)]
        (if (mobile?)
          (apply dom/div #js {:className "results tracks" }
                 (dom/div #js {:className "track"}
