Edited Flashcard class