Algorithm base class upgraded

Subsequent algorithm processing infrastructure in place.
Automatic profiling implemented.