init card functionality
Merge pull request #1 from xzel/Dan

init card functionality