database configuration and dependencies