renamed GetTopCard to DealTopCard because “Get” can imply a const method.
added log4cxx but have to fix a linker error