moved unused class Algorithm