incremental work on cards and combining

Changed the card object so that it updates its position on its own.