db implemented
ignore the autogenerated
removing subsription from the queue and putting it in core
making db store its own connection; if the db has contention this may be a bottleneck
core now integrates with db and queue; sync is next
fixing bad assert