Added CMakeLists.txt
Removed unneeded 3d initialization.