Move all the pdb_get...() and pdb_set...() functions to a new file.