Add BeanFactory; Have it working on simple interface.