Started refactoring flashcards spec