Use own logging interface
Improve DB table creation/checking
DB classes for fitted average traces