# REFACTORING
+## PSGI
+
+### Blockers
+
+ * properly pass along server arguments
+ * Fix Test::WWW::Mechanize::Catalyst which has been broken by moving stuff
+ about.
+ * think about whether or not to generate myapp.psgi and how to configure
+ middleware
+
+### Nice to have
+
+ * throw out Catalyst::Test's remote_request in favour of
+ Plack::Test::ExternalServer
+ * make sure we're running under a server that support psgi.streaming - maybe
+ just load the BufferedWrite middleware, although that might break things
+ relying on ->write doing an unbuffered write
+ * 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
+
## The horrible hack for plugin setup - replacing it:
* Have a look at the Devel::REPL BEFORE_PLUGIN stuff