Finished adding cat history into the SQLite database interface