added db class.