Convention over configuration with DI