replaced card_viewer with index, which will form the base of the proper deck builder.