add the db api class