More work on getting the cat history into the database

Added methods into the database interface for insertion, retrieval, and
updating. Currently have implementation for retrieval only