Added a Logging module and DB table.