updated README and some improvements in CMake