CMakeLists.txt
Removed old buildsystem
Moved C files into CXX files
Includes fixed
Compile with g++
Set build type to debug