Revert "Revert "Revert "add folder database"""

This reverts commit 633c4cc9838d2e3eab68fda8445fb2bcaf366031.