added domain companion object helper

it provides methods to find single nodes in DB
added missing database object