Structure and algorithm changes.
New CMakeLists.txt.