algo are now classes so that have access to AlgoBase
algo functions being converted, split up