fast-cgi: Refactoring application and mvc response