Allow more configuration in config.coffee and less code logic for different survey types. Restructure files.