Refactor request pages partials

includes all functionality that makes request_pages work, for a server-side-rendering application.