Add setup script to install dependencies.
Remove diskv dependency, do file io directly.