Deck model

Finished the database integration for Decks.

Submitted by: Alec Thompson - ajthompson