Adding application context from spring