Introducing dependency injection (simple approach)