db handler as class + importer fix