isolating database configuration