     if @classesView.enrolledContainer.getSubViews().length is 1
       @classesView.noEnrolledClass.show()
 
+  goToClass: (className, chapter, callback = noop) ->
+    @readFileContent "/#{className}.kdclass/manifest.json", (manifest) =>
+      manifest.startWithSplashView = yes  unless chapter
+      @createClassView manifest
+      callback()
+
+  createClassView: (manifest) ->
+    @getDomElement().css { left: -@getWidth(), height: 0 }
+    @parent.addSubView new ClassroomClassView { delegate: @ }, manifest
+
+  handleQuery: (query) ->
+    @goToClass query.class, query.chapter
+
   getPredefinedClasses: ->
     [
       {


    @createHeader()
    @fetchClasses()

  fetchClasses: ->
    @appStorage.fetchStorage (storage) =>


  constructor: (options = {}, data) ->

    options.cssClass = "classroom-app-view"

    super options, data

