alpha controller, view and flashcard class