AlgorithmTemplate class added to gravis.common