Switch to CMake

I want this CMakeLists.txt!!!!!!!!!!!!!!!!