singleton refactor
Pass DB connection settings