## TODO
* [ ] stored relations
* [ ] more complete functions and aggregations
* [ ] auto-updating relations?
* [ ] more complete tx tests