remove useless files
add gitignore file
change  to use cmake and separate Sample.cpp