Configuration management and dependency injection