moving coreApplicationContext from xml to annotations