Made DB location configurable