-$ctl = new Controller;
-$ctl->setDependency("baseUrl", new Url)
- ->attach(new Action(["refpath" => REFS]))
- ->attach(new Layout)
- ->notify()
- ->getResponse()
- ->send();
+$response = new Response;
+$ehandler = new ExceptionHandler($response);
+$reference = new Reference(explode(PATH_SEPARATOR, REFS));
+$action = new Action($reference, new Request, $response, new BaseUrl);
+$action->handle();