added log classes and DB