[silviu] moved xml spring config to Spring Java Config classes