Using config module for database configuration