IoC in writer and removed @Component on tasks, we are now using a @Configuration class