Added Card selecting and selling.
Added unittest for server.