replacing remaining usages of BeansConfig with IBeansConfig