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

{Animator} = require "./animator.coffee"
{MouseToolCombo} = require "./mousetool.coffee"
{GenericTransitionFunc, BinaryTransitionFunc,DayNightTransitionFunc,binaryTransitionFunc2GenericCode, dayNightBinaryTransitionFunc2GenericCode, parseGenericTransitionFunction, parseTransitionFunction} = require "./rule.coffee"
M = require "./matrix3.coffee"

MIN_WIDTH = 100

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

    @transitionFunc = parseTransitionFunction config.getFunctionCode(), application.getGroup().n, application.getGroup().m
    @lastBinaryTransitionFunc = @transitionFunc


