remove redundant code
add CMake scripts
update README.md