Finished part IV (added a SQLite DB)