 context = canvas.getContext "2d"
 
 application = new Application
-application.initialize()
+application.initialize new UriConfig
 
 dragHandler = null
 

    @animator = new Animator this
    @paintStateSelector = new PaintStateSelector this, E("state-selector"), E("state-selector-buttons")

    @transitionFunc = parseTransitionFunction "B 3 S 2 3", application.getGroup().n, application.getGroup().m
    @lastBinaryTransitionFunc = @transitionFunc



  
doImport = ->
  try
    application.importData E('import').value
    updatePopulation()
    redraw()
    E('import-dialog').style.display = 'none'
