add the reference source files
delete some useless files.