xwen: add functionality to store decks in DeckModel
xwen: fix mrging conflicts