remove graph kind
put db in the top level and pass it to Main as a prop
using `_changed` and `_deleted` for fine grained control of the resulting tree
Merge branch 'diffs-and-deletes'