create singleton instance (BeanFactory)