Created Deck class on Model