Fixes issue #80
Refactored the sending of surveys to groups
Fixes issue #81 by adding types on the export
Fixes a typo