Added basic setup for algorithm classes and inheritence structure.