backend db support almost done

db populated with file information