Create AlgorithmFactory