Added algorithm classes with basic functionality