added an example of autowiring via constructor