Added some WSGI stuff.
Tweaked controller/view/renderer logic for it.