flashcards stored in sqlite3 database, activerecord added