Refactored out card-creation code.
Refactored out card-creation code.

Since HTML cards contain the data points anyway, just start manipulating
cards instead of data.

amosjyng/ShallWeDebate,amosjyng/ShallWeDebate,amosjyng/ShallWeDebate,amosjyng/ShallWeDebate