add recover.py, remove old files, improve documentation