Add deck-manager.js to repo and HTML.

Signed-off-by: suicidepills <atom.mac@gmail.com>
Structure changes, add start of UIManager and Card classes.

Signed-off-by: Zach Bennett <xslingshot@gmail.com>
Introduce Pile class, extend Deck from Pile.

Rename DeckManager to PileManager.  Also remove Deck click handlers.

Signed-off-by: Zach Bennett <xslingshot@gmail.com>
Clean up variables in Pile and Deck.

Signed-off-by: Zach Bennett <xslingshot@gmail.com>
Activate first card in Deck and render to UI on Deck init.

Signed-off-by: Zach Bennett <xslingshot@gmail.com>
Remove unused events.js.

Signed-off-by: Zach Bennett <xslingshot@gmail.com>
Setup Cards and Piles through composition.

Signed-off-by: Zach Bennett <xslingshot@gmail.com>
Bind events directly to [component].handleEvent in app.js.

Removed unnecessary anonymous functions.

Signed-off-by: suicidepills <atom.mac@gmail.com>