Added AlgorithmFactory, some additional algorithms and options to changed the algorithm sleep time