rename variables, not that we have multiple DB tables
add DB.put_dict method
Add metadata to files