Spring IoC works