Dependency injection pattern - Eustad