Added some SQLite DB stuff.