added a new example of autowiring by type through annotations