added some basic card code and a few classes we will need