Added two objects collision detection.
Replace Autotools with CMake.