implemented database schema and SQLiteOpenHelper subclass