Added db abstract classes