autowired instances as a bean for controllers