Creates and updates survey

Basic structure for creating and updating survey