add base code for dependency injection exercise