refactor survey creation code slightly
Merge pull request #15 from Nayshins/refactor-survey-controller

Looks good