Refactored server side game logic and fixed a small client side deck bug
where cloning a deck without a main card set was blowing up.