Adding flashcard controller