LOC-6: Drop the "ref" db, integrate into "node"