Update reference to title attribute
Move fetchSurvey API call to service
Update input types and options to match survey definition
Modify view headers and footers
Rename 'submission' to 'response'. Implement response sync.