WW-4158 Defines new factory interfaces with default implementations and uses them in ObjectFactory, docs updated as well