moved beans to root-context.xml from application-context