change build script from Makefile to CMake

Jetbrains clion is unsupported Makefile.
Then i'm change build script to CMake and add CMakeLists.txt

I think that cmake operation is successful and build process is nice