Setup CMake as the build system. Added some other stuff.