Changed classes from old-style to new-style.
Implemented Card as objects instead of simple dictionaries.