bean factory IoC demo