Replace global config instance with a get function
Add config as a constructor parameter
Remove config as an import
Update to work with the changes to Database and config in common
Add underscore to "private" members