add harvest.py, harvest collection tool
fixed a few bugs in harvest.py