added a new factory pattern class from AisisCore

[Branch: dev1.2.5]