added db abstract class