Add LICENSE. configure CMake. add main.cc