deleted unneeded function in executorService
added object based configurations of spring beans