DirectCanvas - move to using an Application class