Added example of using FactoryBean to create beans