Moved XMLSerialization and XMLDEserialization algorithms to card classes