Split algos into different files.