Adding Skeleton for factory pattern