Revert "db manager"

This reverts commit 24b7bc19b9bdce7af6cfccf5f3150234f4833281.
TODOs