Add CMakeLists file and remove code::blocks file.