 (defonce gmap (atom nil))
 
 ;; -------------------------
-;; Views
-
-(defn home-page [data owner]
-  (om/component
-   (html [:div [:h2 "Home Page"]
-          [:div [:a {:href "#/about"} "go to the about page"]]])))
-
-(defn about-page [data owner]
-  (om/component
-   (html [:div [:h2 "About gtfve"]
-          [:div [:a {:href "#/"} "go to the home page"]]])))
-
-(defmulti page #(:current-page %))
-
-(defmethod page nil
-  [data] home-page)
-
-(defmethod page :home
-  [state] home-page)
-
-(defmethod page :about
-  [state] about-page)
-
-(defn current-page [data owner]
-  (om/component
-   (om/build (page (om/value data)) data)))
-
-;; -------------------------
 ;; Routes
 (secretary/set-config! :prefix "#")
 
-(secretary/defroute "/" []
-  (session/swap! assoc
-                 :current-page :home
-                 :map {:opts m/default-map-opts}))
-
-(secretary/defroute "/about" []
-  (session/put! :current-page :about))
+(secretary/defroute "/" [])
 
 ;; -------------------------
 ;; History

            [goog.history.EventType :as EventType]
            [cljsjs.react :as react]
            [gtfve.maps :as m]
            [gtfve.data :as data])
  (:import goog.History))

;; -------------------------

(ns gtfve.core
  (:require-macros [cljs.core.async.macros :refer [go go-loop]]
                   [gtfve.macros :refer [<?]])
  (:require [om.core :as om]
            [sablono.core :as html :refer-macros [html]]
            [secretary.core :as secretary :include-macros true]
            [cljs.core.async :as async :refer [put! chan <! close!]]
