added a new example of bean injection and inner bean declaration