Feature/add flashcard retrieval