# REFACTORING
+## PSGI
+
+### Blockers
+
+ * Test all the options work on all of the scripts
+ * Fix a sane / nicer way to do custom engines.
+
+### Nice to have
+
+ * Capture arguments that the plack engine component was run with somewhere,
+ to more easily support custom args from scripts (e.g. Gitalist's
+ --git_dir)
+ * throw away the restarter and allow using the restarters Plack provides
+ * remove per-request state from the engine instance
+ * be smarter about how we use PSGI - not every response needs to be delayed
+ and streaming
+ * lighttpd, iis6, and nginx path-info fixers as proper middlewars as part of Plack
+
## The horrible hack for plugin setup - replacing it:
* Have a look at the Devel::REPL BEFORE_PLUGIN stuff