Factory class that is dynamic in nature