mo work...

Added output form and replaced old code for algos with new IAlgorithm.