Fixed xml error, template is now a property of crowdtask. Some refactoring needed.