modified application.java to use the new autowired xml