prepare10.2

Add FactoryMethod to create objects