Changed algorithm classes' access modifiers and GUI stuff