Added View class and updating StudyFlashcards class out of psuedo