fix test warnings
remove unused directory
Migrate to cargo (p126-p130)