Integrate DB for local dives saving

Signed-off-by: Andrey Zhdanov <andrjufka@gmail.com>