db update (weekend)
- graph conception completed; now to test/debug
- added db unit testing facility