flashcard model creates flashcard objects