added promises to cards function
cleaned code
Merge pull request #6 from jtfairbank/tcs-promises

TCS Promises