added CMake project for the library. Still need to do for the samples