Contructing the Card classes for client side construction.