moved player and card to files