 
 class View.Worker extends Backbone.View
   tagName: 'li'
-  initialize: ->
-    @listenTo @model, 'change', @render
 
   render: ->
-    @$el.html "<p>#{@model.id}</p>"
-    if job = @model.get 'job'
-      jobList = $ '<ul>'
-      @$el.append jobList
-      new View.Job(model:job).render().$el.appendTo jobList
+    @$el.html "<p>#{@model.id}</p><ul></ul>"
     this
 
 class View.Flatware extends Backbone.View

  tagName: 'li'
  initialize: ->
    @listenTo @model, 'change', @render
    @listenTo @model, 'change:worker', @remove

  render: ->
    @$el.addClass( @model.get 'status' ).html "<p>#{@model.title()}</p>"

    @listenTo @model.jobs, 'add', (job)->
      new View.Job(model: job).render().$el.appendTo '#waiting'

    @listenTo @model.workers, 'add', (job)->
      workerView = new View.Worker(model: job).render()
      workerView.$el.appendTo '#workers'
      workerView.model.set workerView.$el.offset()
