Added algorithm service class that populates an algorithm with the appropriate steps.