Added classes for ballot and candidate