Added updated survey controller and view and writer type files