Added db class