Implemented card class (may need refactoring).
Fixed code errors.
changed cardset to better use card implementation.