Make card read from csv, fix bugs in card