deck.h move to server.h