some major changes of dump.py

1. delete method readSnaps()
2. add method tdelete()
3. add method tadd()
4. add method getSnap()