Initial implementation of cards.dll.

10 files changed