Abstract the DSN and related config