rename db.c to afs.c and db.h to afs.h