NTFY-57: refactor database logic to use account at the top-level; factor out common CRUD service code
NTFY-57: add missing dependency