Add flashcard controller