Added class with algorithmes