new db class.