Revert "Added db config in external file"

This reverts commit 86e0b7b8ab126d4aa3ad82baa8d9a12afb6dfa88.