     value = "0" if value is 0
     value or ""
 
-class View
-  constructor: (@ast, @model, @parentController) ->
-    @controller = Serenade.controllerFor(@ast.arguments[0], @model)
-    @controller.parent = @parentController if @controller
-    @view = Serenade.render(@ast.arguments[0], @model, @controller or @parentController)
-
-  append: (inside) ->
-    inside.appendChild(@view)
-
-  insertAfter: (after) ->
-    after.parentNode.insertBefore(@view, after.nextSibling)
-
-  remove: ->
-    @view.parentNode.removeChild(@view)
-
-  lastElement: ->
-    @view
-
 class If
   constructor: (@ast, @model, @controller) ->
     @anchor = Serenade.document.createTextNode('')

    for child in ast.children
      Nodes.compile(child, model, controller).append(element)
    node

  constructor: (@ast, @element, @model, @controller) ->


      when 'text' then new TextNode(ast, model, controller)
      when 'instruction'
        switch ast.command
          when "view" then new Node.view(ast, model, controller)
          when "collection" then new Collection(ast, model, controller)
          when "if" then new If(ast, model, controller)
          when "in" then new In(ast, model, controller)
