Refactoring

Now use Java context configuration code instead of XML(test_applicationContext.xml)