added 3 CMakeLists.txt
added Index.*
a cmake buildable version