Changed the responseWriter struct so it separates the io.Writer