Add finish time column to packets table.
Add function to initialize the database.