Added CRUD functionality for Surveys.