:gb: Refactored out Deck into separate file