vda: merge implementation into one file.