Added category structure and database table to allow a record of recent topics to be collected throughout the conversation.