Upload deck.class.js

Here is the base deck class in all its glory.