Added a deck class which extends abstract model