Initial DB

Signed-off-by: Mikhail S. Pobolovets <styx.mp@gmail.com>
Add basic helper class for DB

Signed-off-by: Mikhail S. Pobolovets <styx.mp@gmail.com>
Search by entity

Signed-off-by: Mikhail S. Pobolovets <styx.mp@gmail.com>