Changed private/public class structure in Cards.as