Added spring dependency injection
CustomApplicationContext deleted