Remove some unused asserts
Split card logic into separate classes