 
         # Handle routing
         search_term: (term) ->
-            model.set 'term', term
-            model._doUPdate()
+            @options.model.set 'term', term
+            @options.model.trigger 'doUpdate'
     )
+
+
+    model = new Model()
+    router = new Router (model: model)
+
+
+    view = new View (
+        el: '#learndb-view'
+        model: model
+        router: router
+    )
+
+    Backbone.history.start()
 
 
     # Render view to initialize bindings

    )

    View = Backbone.View.extend (

        events: (
            #'input .lookup' : '_doUpdate'








    # Setup router
    Router = Backbone.Router.extend (

        initialize: (@options) ->

        # Setup route definitions
        routes: (
