Added a BeanFactory for creating beans from an expression: useful for fluent APIs like Builder patterns