DB configuration  + Database clearence+ fixes