Revert "Database directory"

This reverts commit 43485c22597dc83e2f6c1b36034dd938107ccd38.