Also add const db and resnametable
Remove files that are no longer referenced