Revert "Db handler"

This reverts commit d6f52e9bb8f7b81e26beb7ec3d912d03ee540bec.