parsing TaffyDB
fixed error on parsing and adding elements to the database
filling cards from the database
some cleanup