Add docstrings, change get_card_name_and_id - broken